home *** CD-ROM | disk | FTP | other *** search
/ .net 2002 March / DotNetMagazine-Issue107-Coverdisc-NET107-02-03-PCMac.bin / pc / PC Software / free_browsing / DavesQckSearchDbar3-14 / dqsd.exe / searches / alm.xml < prev    next >
Text File  |  2002-08-30  |  2KB  |  75 lines

  1. <search function="alm">
  2.   <name>All Music Guide (AMG)</name>
  3.   <description>
  4.     Search the AMG for album reviews, track listings, artist discographies and more. Searches for artists by default.<br/>
  5.     <div class="helpboxDescLabels">Switches:</div>
  6.       <table class="helpboxDescTable">
  7.           <tr><td>/song</td><td> - </td><td>Search for a specific song.</td></tr>
  8.           <tr><td>/album</td><td> - </td><td>Search for a specific album.</td></tr>
  9.           <tr><td>/style</td><td> - </td><td>Lookup the history of a particular music style.</td></tr>
  10.           <tr><td>/label</td><td> - </td><td>Lookup information on a major record label.</td></tr>
  11.       </table>
  12.     <div class="helpboxDescLabels">Examples:</div>
  13.     <table class="helpboxDescTable">
  14.           <tr><td>alm The Beatles</td></tr>
  15.           <tr><td>alm Revolver /album</td></tr>
  16.       </table>
  17.   </description>
  18.   <category>Entertainment</category>
  19.   <link>http://www.allmusic.com/</link>
  20.   <contributor>Peter Risser, Ryan Edwards</contributor>
  21.   
  22.   <form name="almf"
  23.         action="http://www.allmusic.com/cg/amg.dll"
  24.         method="post">
  25.     <input type="hidden" name="P" value="amg"/>
  26.     <input type="hidden" name="uid" value="SEARCH"/>
  27.     <input type="hidden" name="opt1"/>
  28.     <input type="hidden" name="sql"/>
  29.   </form>
  30.   
  31.   <script><![CDATA[
  32.     function alm(q)
  33.     {
  34.       var args = parseArgs(q, "album, song, style, label");
  35.       
  36.       if( nullArgs("alm", q) )
  37.          return false;
  38.       else if( args.switches.length == 1 )
  39.       {
  40.         switch( args.switches[0].name )
  41.         {
  42.           case "album": 
  43.             document.almf.opt1.value="2"; 
  44.             break;
  45.           case "song":
  46.             document.almf.opt1.value="3";
  47.             break;
  48.           case "label":
  49.             document.almf.opt1.value="4"; 
  50.             break;
  51.           case "style":
  52.             document.almf.opt1.value="5"; 
  53.             break;
  54.         }
  55.         document.almf.sql.value = args.q;
  56.         submitForm(almf);
  57.       }
  58.       else if( args.switches.length > 1 )
  59.         nullArgs("alm","?");
  60.       else
  61.       {
  62.         document.almf.opt1.value="1";
  63.         document.almf.sql.value = args.q;
  64.         submitForm(almf);
  65.       }
  66.     }
  67.   ]]></script>
  68.  
  69.   <copyright>
  70.     Copyright (c) 2002 David Bau
  71.     Distributed under the terms of the
  72.     GNU Public License, Version 2 (http://www.gnu.org/copyleft/gpl.txt)
  73.   </copyright>
  74. </search>
  75.